import * as types from './mutation-types'
import Vue from 'vue'
// 设置tab数据
export const SET_TAB_LIST = function ({commit}, tabBbj) {
  commit(types.SET_TAB_LIST, tabBbj)
}

// 设置目录
export const SET_SECOND_DIRECTORY = function ({commit}, dirObj) {
  commit(types.SET_SECOND_DIRECTORY, dirObj)
}

// 设置当前选项
export const SET_TAB_CURRENT_INDEX = function({commit}, currentIndex) {

	commit(types.SET_TAB_CURRENT_INDEX, currentIndex)
}

// 设置商家信息配置

export const  SET_MERINFO_CONFIG = function({commit}, merInfoConfig) {

	commit(types.SET_MERINFO_CONFIG, merInfoConfig)
}
